package com.qf.mrboot1.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2021-06-02 09:47:41
 */
public class Order implements Serializable {
    private static final long serialVersionUID = -19566401050828644L;

    private Integer oId;
    /**
     * 留言
     */
    private String message;
    /**
     * 时间
     */
    @DateTimeFormat(pattern = "yyy-MM-dd hh:mm:ss")
    @JsonFormat(pattern = "yyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date dur;

    @DateTimeFormat(pattern = "yyy-MM-dd hh:mm:ss")
    @JsonFormat(pattern = "yyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date subtime;

    private Integer status;
    /**
     * 用户
     */
    private Integer uId;

    private String suName;

    private String sName;

    private String code;
    /**
     * 电话
     */
    private String tel;


    public Integer getOId() {
        return oId;
    }

    public void setOId(Integer oId) {
        this.oId = oId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getDur() {
        return dur;
    }

    public void setDur(Date dur) {
        this.dur = dur;
    }

    public Date getSubtime() {
        return subtime;
    }

    public void setSubtime(Date subtime) {
        this.subtime = subtime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUId() {
        return uId;
    }

    public void setUId(Integer uId) {
        this.uId = uId;
    }

    public String getSuName() {
        return suName;
    }

    public void setSuName(String suName) {
        this.suName = suName;
    }

    public String getSName() {
        return sName;
    }

    public void setSName(String sName) {
        this.sName = sName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oId=" + oId +
                ", message='" + message + '\'' +
                ", dur=" + dur +
                ", subtime=" + subtime +
                ", status=" + status +
                ", uId=" + uId +
                ", suName='" + suName + '\'' +
                ", sName='" + sName + '\'' +
                ", code='" + code + '\'' +
                ", tel='" + tel + '\'' +
                '}';
    }
}
